import {httpRequest} from '@/request/https'

export default {
    /**
     *  获取船货排布的统计信息
     * */
    getShipArrangeStatiscs: params => httpRequest({url: '/dis/spArrange/top/statistics', method: 'get', params}),
    /**
     * 表格分页
     * */
    getShipArrangePage: params => httpRequest({url: '/dis/spArrange/scheme/detail/page', method: 'post', params}),
    /**
     * 获取船货排布甘特图信息
     * */
    getShipArrangeChart: params => httpRequest({url: '/dis/spArrange/scheme/chart', method: 'post', params}),
    /**
     * 船货排布状态更改
     * */
    getShipArrangeStatus: params => httpRequest({url: '/dis/spArrange/status/update', method: 'post', params}),
    /**
     * 获取方案详情
     * */
    getShipArrangeInfo: params => httpRequest({url: `/dis/spArrange/detail/${params}`, method: 'get'}),

}
